home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
wildcat
/
tscn312.zip
/
ZC210.ZIP
/
ZC.DOC
< prev
next >
Wrap
Text File
|
1990-08-21
|
4KB
|
121 lines
ZC v2.10 - ZIP Commenter
by Jeff Garzik
Requirements
------------
PC-DOS or MS-DOS v3.0 or later
IBM or compatible machine
At least 95k FREE RAM at time of execution
Disclaimer
----------
The program, ZC, and its associated documentation, are hereby dedicated to
the public domain. Anyone may use this for their own personal purposes, or
for any reason, as long as that reason doesn't include commercial
distribution. By issuing this statement, the author disclaims any
liability, or warranty (expressed or implied), that could or might be
associated with this product through any circumstances. This type of
disclaimer is prohitibed in certain states of the US, and is void in those
states.
If you wish to distribute this product with your program, or any program,
you are free to do so, as long as due credit is given to the author, Jeff
M. Garzik.
Using ZC
--------
[d:][path]ZC [zipfile] [commentfile]
[d:][path] before ZC to specify the drive and path that contains the
ZC.EXE command file.
[zipfile] after ZC to specify which .ZIP file(s) to be processed. This
is a standard DOS path/file name, and CAN contain wildcards. If an
extension is not specified, then the default extension of .ZIP is
assumed.
[commentfile] after zipfile to specify which ASCII TEXT file is to be
used as the ZIP comment. This CANNOT include wildcards, and will abort
with an error if one is specified.
Examples
--------
ZC * COMMENT.FIL
This executes ZC, with the command to process all files with the
extension .ZIP, and replace the existing comment (if any) with the
comment contained in COMMENT.FIL.
E:\UTILITY\ZC C:\DOWNLOAD\A*.ZIP AUTOEXEC.BAT
This executes ZC.EXE, assuming it is on drive E: and in directory
UTILITY, with the command to process all .ZIP files that start with A in
their filename, replacing the existing comment (if any) with all the
text contained in AUTOEXEC.BAT in the current directory.
Donations
---------
If you like this program, PLEASE send $5 to this address:
Jeff Garzik
117 Harrell St.
Greenville, NC 27858
v2.00 Benchmarks
----------
235 files (ranging from 1k to 30k):
ZC - 41.59 seconds
PKBANNER - 45.96 seconds
13 files (ranging from 6k to 312k):
ZC - 2.36 seconds
PKBANNER - 2.80 seconds
Update History
--------------
0.00 - Beta test release.
1.00 - First public release.
Fixed memory allocation bug.
Included command line help.
Included documentation.
Added support for wildcard zipfiles on command line.
Added default extension (.ZIP) support.
1.01 - Changed command line help.
Improved file read routines (now faster).
Major overhaul of documentation.
Fixed another memory allocation bug.
Reduced code redundancy.
1.02 - Made processing a WHOLE lot faster. It still isn't up to the
speed of PKBANNER, but it is getting closer each time.
What ZC did previously was repeatedly read the zip
comment file from disk each time a ZIP file was processed.
This was stupidity personified on my part, and I apologize.
What it now does it read the comment file into RAM at the
start of the program, and then process. This means that
about 32k more RAM is required, but the speed makes up for
that.
Updated documentation to reflect changes.
Fixed bug in command line when a single ZIP file was specified.
1.02a- Interim release.
There was a major bug that messed up the comments that forced me
to release this newer version.
Updated the docs so users could see a unbaised comparison of the
two programs.
2.00 - ZC IS NOW FASTER THAN PKBANNER! (See "Benchmarks" for details)
Documentation update
2.10 - Fixed bug that did not shrink file size when adding comments
that were smaller than the existing comment.
Improved speed, especially on 8086- and 8088-based machines.
Released ZC PLUS because of many requested features.